import hasRole from "./permission/hasRole";
import hasPermi from "./permission/hasPermi";
import copyText from "./common/copyText";
import optimize from "./optimize/index";
import { App } from "vue";
export default function directive(app: App) {
    app.directive("hasRole", hasRole);
    app.directive("hasPermi", hasPermi);
    app.directive("copyText", copyText);
    app.directive("optimize", optimize);
}
